﻿FIND_PATH(FFMPEG_INCLUDES 
	NAMES	libavcodec/avcodec.h
	PATHS
	/usr/include/x86_64-linux-gnu/
	/usr/include/
	/usr/local/include/	
)

FIND_LIBRARY(FFMPEG_LIB
        NAMES avutil avcodec avformat avdevice
        PATHS
        /usr/lib/x86_64-linux-gnu/
        /usr/lib/
        /usr/local/lib/
)

set(FFMPEG_LIBRARIES ${FFMPEG_LIB})
set(FFMPEG_INCLUDE_DIR ${FFMPEG_INCLUDES})
set(FFMPEG_FOUND true)
